package cn.whao.guli.stock.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * ClassName: StockEntity
 * Package: cn.whao.guli.stock.entity
 * Description:
 *
 * @Author 王豪
 * @Create 2024/11/26 15:46
 * @Version 1.0
 */
@Data
@Entity
@Table(name = "t_stock")
public class StockEntity {
    @Id
    private Integer id;
    @Column(name = "product_id")
    private String productId;
    @Column(name = "title")
    private String title;
    @Column(name = "count")
    private Integer count;
}
